package hzncc.wcs.vo.modbusconfig;

import com.diboot.core.binding.annotation.*;
import com.diboot.core.vo.FileVO;
import com.diboot.core.vo.LabelValue;
import com.diboot.iam.entity.IamOrg;
import com.diboot.iam.entity.IamPosition;
import com.diboot.iam.entity.IamRole;
import com.diboot.iam.entity.IamUser;
import com.diboot.file.entity.FileRecord;
import hzncc.wcs.entity.modbusconfig.ModbusSignalPosition;
import hzncc.wcs.entity.modbusconfig.ModbusSlaveConfig;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.List;
import java.time.LocalDate;

/**
* Modbus信号点位 VO定义
* @author MyName
* @version 1.0
* @date 2025-03-28
* Copyright © MyCorp
*/
@Getter @Setter @Accessors(chain = true)
public class ModbusSignalPositionListVO extends ModbusSignalPosition  {
private static final long serialVersionUID = 1261585001196523725L;

    /**
    * 功能码 关联字典选项
    */
    @BindDict(type = "modbusFun", field = "fun")
    private LabelValue funLabel;

    /**
    * 数据类型 关联字典选项
    */
    @BindDict(type = "PLC_DATA_TYPE", field = "dataType")
    private LabelValue dataTypeLabel;

    /**
    * 读写 关联字典选项
    */
    @BindDict(type = "rw", field = "readWriteAccess")
    private LabelValue readWriteAccessLabel;

}